package com.ccys.db.mapper;

import com.ccys.db.dto.masterData.SymptomPageQueryDto;
import com.ccys.db.entity.TblSymptom;
import com.ccys.db.vo.app.splashscreen.SymptomMakeVo;
import com.ccys.db.vo.doctor.consultStage.GetMasterDataVo;
import com.ccys.db.vo.masterData.SymptomPageVo;
import org.apache.ibatis.annotations.Param;
import tk.mybatis.mapper.common.Mapper;
import tk.mybatis.mapper.common.MySqlMapper;

import java.util.List;

/**
* Created by Mybatis Generator on 2023/12/08
*/
public interface TblSymptomMapper extends Mapper<TblSymptom>, MySqlMapper<TblSymptom> {

    List<SymptomPageVo> findPage(SymptomPageQueryDto dto);

    List<SymptomMakeVo> getMasterDataFindAllList();

    List<GetMasterDataVo.BaseVo> getMasterSymptoms();

    List<GetMasterDataVo.DurationUnitVo> getDurationUnit();

    List<GetMasterDataVo.BaseVo> getSpecialisationType();

    List<GetMasterDataVo.DiagnosisVo> getDiagnosis();

    List<GetMasterDataVo.BaseVo> getMedicationReaction();

    List<GetMasterDataVo.BaseVo> getMedicationUsagePeriod();

    List<String> getCompanyNameSpecialisation();

    List<String> getMasterCompanyName();

    String getSysValue(String sysName);

    List<GetMasterDataVo.BaseVo> getFlagPatient();

    TblSymptom findByNameAndByGroupId(@Param("name") String name, @Param("groupId") String groupId);

    Integer findOrderByGroupId(@Param("groupId") String groupId);
}
